by a narrow margin

Translations
de justesse
Definitions
A phrase used to describe a situation where something is achieved or decided with only a small difference or slight advantage, often in the context of winning or succeeding.